Correct JNI string error checking and miscellaneous corrections
authorPo Lu <luangruo@yahoo.com>
Sun, 7 Jul 2024 02:19:31 +0000 (10:19 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 7 Jul 2024 02:21:47 +0000 (10:21 +0800)
commit99e510977b22ca60e48b2af70a3c2cdbd90b2b01
tree272cbf70afee36d54807768fcac0df40ede58a43
parentbbe95a8ceabfa1f4ad2064e1607fe64cf56434fd
Correct JNI string error checking and miscellaneous corrections

* src/android-emacs.c (main): Do not attempt to load the
bootstrap class path, which is redundant on all Android releases.

* src/android.c (initEmacs, android_browse_url): Do not assume
exceptions will be raised if GetStringUTFChars fails.  Decode
Android JNI strings as Qandroid_jni.

* src/androidvfs.c (android_saf_check_nonnull): New function.
(android_saf_new_mkdir): Likewise.
src/android-emacs.c
src/android.c
src/androidvfs.c